package com.dd.ent.car.ui.find;

import com.dd.ent.car.common.bean.base.PageBean;
import com.dd.ent.car.common.bean.base.ResultBean;
import com.dd.ent.car.common.bean.tag.Mark;
import com.dd.ent.car.ui.adapter.base.BaseListAdapter;
import com.dd.ent.car.ui.home.templet.HomeTempletListFragment;
import com.google.gson.reflect.TypeToken;

import java.lang.reflect.Type;

/**
 * Created by aqu-spring on 16/9/3.
 */
public class FindFragment extends HomeTempletListFragment<Mark> {

    @Override
    protected BaseListAdapter<Mark> getListAdapter() {
        return new FindAdapter(this);
    }

    @Override
    protected Type getType() {
        return new TypeToken<ResultBean<PageBean<Mark>>>() {
        }.getType();
    }
}
